package meijuli.com.join51.business.orderdetail

import android.os.Bundle
import meijuli.com.join51.business.R
import com.jhx.common.framework.QuickBaseActivity

/**
 * 订单详情页
 *
 * @author Jack 2018-01-24 15:54
 */
class OrderDetailActivity : QuickBaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_container)
        val order = intent.getSerializableExtra(OrderDetailFramge.KEY_ORDER)
        val bundle = Bundle()
        bundle.putSerializable(OrderDetailFramge.KEY_ORDER, order)
        push(OrderDetailFramge::class.java, bundle)
        setTitle("订单详情")
    }

    override fun containerId(): Int {
        return R.id.container
    }
}